package cn.easybuymember.dao.product;

import cn.easybuymember.pojo.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper {
    List<Product> selectProducts(@Param("limit1")int limit1, @Param("limit2")int limit2, @Param("name")String name);

    int count(@Param("name") String name);

    int del(@Param("id")int id) throws Exception;

    int upd(Product pro) throws Exception;

    int ins(Product pro) throws Exception;

}
